<!DOCTYPE html>
<!-- saved from url=(0039)http://sinooceanlas.com/detail/193.html -->
<html lang="en" style="font-size: 40px;">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">



	<title>资产需求</title>
	<meta name="keywords" content="河北省企业投资理财协会">
	<meta name="description" content="河北省企业投资理财协会">

	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">

	<meta name="format-detection" content="telephone=no">

	<meta name="apple-mobile-web-app-capable" content="yes">

	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<meta name="referrer" content="never">

	<link rel="stylesheet" href="./comment/layui.css">

	<link rel="stylesheet" type="text/css" media="screen and (min-width:320px) and (max-width:760px)"
		href="./comment/phone.css">

	<link rel="stylesheet" type="text/css" media="screen and (min-width:760px) and (max-width:3600px)"
		href="./comment/pc.css">

	<link rel="stylesheet" type="text/css" href="./comment/reset.css">

	<link rel="stylesheet" type="text/css" href="./comment/animate.css">

	<link rel="stylesheet" type="text/css" href="./comment/swiper.min.css">

	<script type="text/javascript" src="./comment/rem.js"></script>


	<script src="./comment/js-sdk-pro.min.js"></script>
	<link rel="stylesheet" href="./comment/layer.css" id="layuicss-layer">
</head>

<body style="font-size: 12px;">
	<div id="detile">
		<my-header></my-header>
		<!-- 中部内容 go -->
		<div class="gg_ban">
			<img src="./img/bcg_top_4.JPG">
		</div>
		<div class="nex_one">

			<div class="wow bounceInLeft nex_one_l" style="visibility: visible; animation-name: bounceInLeft;">
				
				<div class="wow bounceInDown com_one_t" style="visibility: visible; animation-name: bounceInDown;">
					<p>资产需求</p>
					<p>Asset demand</p>
					<span></span>
				</div>
				<div class="nex_one_l_c">
					<div class="content">
						<ul class="news1">
								<li @click="toDetile(item)" v-for="item in dataSource" :key="item.id">
									<a  class="pg-color" style="font-size: 18px;">{{item.name}}</a>
									<span style="font-size: 18px;">{{item.create_time}}</span>
								</li>
						</ul>
					</div>
				</div>
				<div v-if="dataSource.length" class="gg_page">
				<ul>
					<ul class="pagination">
						<li @click="currentPage <= 1?'':changePage(currentPage - 1)"
						:disabled="currentPage <= 1"
						class="disabled"><span>«</span>
						</li>
						<li 
						v-for="page in pages"
						:key="page"
						@click="changePage(page)"
						:class="{ active: currentPage === page }"><span>{{page}}</span></li>
						<li @click="currentPage >= totalPages?'':changePage(currentPage + 1)"
						:disabled="currentPage >= totalPages"><span>»</span></li>
					</ul>
				</ul>
			</div>
			</div>
		</div>
		<my-footer></my-footer>
	</div>
	<script type="text/javascript" src="./comment/jquery-2.1.4.min.js"></script>
	<script src="./js/vue.js"></script>
	<script src="js/comment.js"></script>
	<script type="text/javascript" src="./comment/layer.js"></script>
	<script>
		var app = new Vue({
			el: '#detile',
			data: {
				dataSource:[],
                // 分页
                totalPage: 0,
                limit: 10,
                currentPage: 1,
                maxVisibleButtons: 10,
			},
			computed: {
                totalPages() {
                    return Math.ceil(this.totalPage / this.limit)
                },
                pages() {
                    const range = []
                    const half = Math.floor(this.maxVisibleButtons / 2)
                    let start = Math.max(1, this.currentPage - half)
                    let end = Math.min(this.totalPages, start + this.maxVisibleButtons - 1)

                    if (end - start + 1 < this.maxVisibleButtons) {
                        start = Math.max(1, end - this.maxVisibleButtons + 1)
                    }

                    for (let i = start; i <= end; i++) {
                        range.push(i)
                    }
                    return range
                }
            },
			mounted () {
				document.getElementById('require').classList.add('gg_nav_r_r_ac')
				this.getData()
			},
			methods: {
				changePage(page) {
                    this.currentPage = page
                    if (page >= 1 && page <= this.totalPages) {
                        this.getData()
                    }
                },
				getData () {
					let pageData = {
                        page:this.currentPage,
                        limit:this.limit
                    }
					const that = this
					var indexlayer = layer.load(2);
					$.ajax({
						type: 'get',
						url: gloabApi + "/Propertydemand/getList",
						data: pageData,
						dataType: 'json',
						success: function (res) {
							if (res.code == 1) {
								console.log((res))
								that.dataSource = res.data.list
								that.totalPage = res.data.total
							} else {
								layer.msg(res.msg);
							}
							layer.close(indexlayer);
						},
					})
				},
				toDetile(item){
					window.location.href = './requireDetile.html?id='+item.id
				},

			}
		})
	</script>
	<script src="./js/login.js"></script>
	<script type="text/javascript" src="./comment/index.js"></script>
	<script type="text/javascript" src="./comment/wow.min.js"></script>
</body>

</html>
<style>
	.content {
		/* margin: 0 20px; */
		font-size: 14px;
	}

	.news1 {
		width: 100%;
		height: auto;
		overflow: hidden;
		margin: 25px auto;
	}

	.news1 li {
		width: 100%;
		padding: 15px 0;
		font: 20px / 30px "microsoft yahei";
		color: #737373;
		/* background: #fff; */
		border-bottom: 1px dashed #dddddd;
		cursor: pointer;
		display: flex;
		justify-content: space-between;
		span{
			text-align: right;
    		width: 148px;
		}
	}
	.news1 div {
		padding-bottom: 10px;
	}
</style>